package org.br.erp.base.service;

import org.br.erp.base.entity.Scmfilteritem;
import org.br.erp.base.entity.Scmfilter;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 表单过滤条件
 * @Author: jeecg-boot
 * @Date:   2023-08-12
 * @Version: V1.0
 */
public interface IScmfilterService extends IService<Scmfilter> {

	/**
	 * 添加一对多
	 *
	 * @param scmfilter
	 * @param scmfilteritemList
	 */
	public void saveMain(Scmfilter scmfilter,List<Scmfilteritem> scmfilteritemList) ;
	
	/**
	 * 修改一对多
	 *
   * @param scmfilter
   * @param scmfilteritemList
	 */
	public void updateMain(Scmfilter scmfilter,List<Scmfilteritem> scmfilteritemList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
